package com.xinruke.hostels.dailymanage.interfaces.dto.inhotel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @ClassName OrderInMoneyDTO
 * @CreateDate 2019/7/3
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 订单入账请求
 */
@ApiModel("订单入账请求")
@Data
public class OrderInMoneyDTO {
    @ApiModelProperty(value = "订单id", required = true)
    @NotNull(message = "订单id不能为空")
    private Integer dingdanId;

    @ApiModelProperty(value = "类别:1订单押金；2散账；4.订单实收金额；3押金退款", required = true)
    @NotNull(message = "类别不能为空")
    private Byte leibie;

    @ApiModelProperty(value = "金额", required = true)
    @NotNull(message = "金额不能为空")
    private BigDecimal jine;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "付款方式 1现金；2银行卡；3挂账", required = true)
    @NotNull(message = "付款方式不能为空")
    private Byte fukuanfangshi;

}
